package org.example.config;

import org.apache.ibatis.plugin.Interceptor;
import org.example.interceptor.TableNameInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class MyBatisConfig {

    @Bean
    public Interceptor tableNameInterceptor() {
        return new TableNameInterceptor();
    }
}
